We can also replace the text in the buffer at a given line number or remove the first occurrence of a string in the current line, using this utility. 我们还可以使用该命令替换给定行号的缓冲区中的文本,或者删除当前行中第一个出现的字符串。
With this formatter now available, the second for loop can finally iterate through the full range of line numbers, retrieving the corresponding text buffer contents one line at a time 有了这个格式化程序后,第二个for循环就可以遍历完整的行号范围,每次取回一行相应的文本缓冲内容
Beware, the parser is entitled to spread the text across several events ( to better manage its buffer). 要知道,语法分析器负责将文本分配到几个事件(更好地管理其缓冲区)。
We can append text to SQL Buffer Utility contents or add text into a new line in the buffer using APPEND and INPUT commands, respectively. 在缓冲区中,我们可以使用APPEND命令附加文本到SQLBufferUtility内容,或者使用INPUT命令添加文本到新的一行。
In vi, any time a piece of text is deleted, it's automatically stored in a buffer ( like the clipboard in Windows). 在vi中删除文本的同时,会将这些文本自动地保存到缓冲区中(类似于Windows中的剪贴板)。
Writes text one buffer at a time. 以每次一个缓冲区的方式写入文本。
Adds text to the end of the current line in the SQL buffer. 这里的意思就是说该命令是吧内容加到缓冲区中当前行的末端。
The document management part introduces the document management, first it introduce the the storage data structure of text: gap buffer, then it introduce the line management, caret and selection management. then introduce the code high-lighting function. 文档管理模块主要介绍了文档管理的实现,首先介绍了文本存储的数据结构:间隙缓冲结构,接着介绍了文本行的表示,插入符和选择管理,接着介绍了高亮显示功能的实现。